//
//  Small_MusicCD02_03.swift
//  TimMusic
//
//  Created by nkl on 2024/10/21.
//

import Foundation
import SwiftUI

struct Small_MusicCD03_01: View {
    var body: some View {
        ZStack {
            Image("small_03_bg").resizable().ignoresSafeArea()
            VStack {
                ZStack(alignment: .topTrailing) {
                    Color(hex: "#111111")
                    VStack(alignment: .leading) {
                        HStack {
                            Image("ic_placeholder").resizable()
                                .frame(width: 43, height: 43)
                                .cornerRadius(8)
                            Spacer()
                        }
                        Text("asd").font(.system(size: 14).bold()).foregroundColor(.white)
                        Text("asd").font(.system(size: 10)).foregroundColor(.white)
                    }.padding([.leading, .top])
                    Image("ic_widget_play").resizable().frame(width: 24, height: 24).padding([.top, .trailing])
                }
                .cornerRadius(12)
                .frame(height: 100)
                Spacer()
            }.padding(8)
        }
    }
}

#Preview {
    Small_MusicCD03_01()
}
